package cn.iocoder.yudao.module.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Data
@Schema(description = "分数实体")
@Component
public class Score {
    
    @Schema(description = "分数ID", example = "1")
    private Long id;
    
    @Schema(description = "学生ID", example = "1")
    private Long studentId;
    
    @Schema(description = "学科", example = "数学")
    private String subject;
    
    @Schema(description = "分数", example = "98.5")
    private BigDecimal score;
}